package builder.v1;

/**
 * Created by Administrator on 2022/9/29.
 */
public class Application {
    House h;
    void f(House h){

    }
    public static void main(String[] args) {
        House house = null;
        HouseBuilder builder = new SimpleHouseBuilder();
        house = builder.buildHouse();
        System.out.println(house);

        builder=new HighBuildingBuilder();
        house = builder.buildHouse();
        System.out.println(house);//高楼
    }
}
